#!/bin/bash
sudo mknod -m 0666 /dev/vserdev0 c 256 0
make
sudo insmod virtual_serial_driver.ko
echo "test test test!!!" > /dev/vserdev0
cat /dev/vserdev0
sudo rmmod virtual_serial_driver.ko
sudo rm /dev/vserdev0
modinfo virtual_serial_driver.ko
make clean